{% extends "base.html" %}

{% block page_content %}
    {{ super() }}
    <div class="page-header">
        <h3>携转工单处理</h3>
        <p>The local date and time is <span style="color: red; ">{{ moment(current_time).format('YYYY-MM-DD HH:mm:ss') }}</span>.</p>
        <p>That was {{ moment(current_time).fromNow(refresh=True) }}.</p>
    </div>

    <div class="page-header">
        <div>
            <p><span class="glyphicon glyphicon-align-justify"></span> 7070 待处理工单数：{{ count_7070 }}</p>
            <p><span class="glyphicon glyphicon-align-justify"></span> 7080 待处理工单数：{{ count_7080 }}</p>
            <p><span class="glyphicon glyphicon-cog"></span> <a href="/main/aischeduler" target="_blank">启动进程</a></p>
        </div>
    </div>

    <div class="page-header">
        <div>
            <p><span class="glyphicon glyphicon-align-justify"></span> 7070 处理成功工单数：{{ succ_count_7070 }}</p>
            <p><span class="glyphicon glyphicon-align-justify"></span> 7080 处理成功工单数：{{ succ_count_7080 }}</p>
            <p><span class="glyphicon glyphicon-align-justify"></span> 处理失败工单数：{{ err_count }}</p>
        </div>
    </div>

    <div class="page-header">
        <div>
            <p><span class="glyphicon glyphicon-align-justify"></span> 数据验证</p>
        </div>
    </div>
{% endblock %}
